package f.h.dragon.patterns.mapper;

import java.sql.ResultSet;

/**
 * DataMapper: data mapper
 *
 * @author Wenlong Meng(wenlong.meng@gmail.com)
 * @version 1.0 at 2012/04/23
 * @since 1.0
 */
public interface DataMapper<T> {

	/**
	 * map resultSet to T
	 * 
	 * @param resultSet
	 * @return
	 */
	public T mapRow(ResultSet resultSet);

}
